package com.nf.action;

public class Car {
    public Car() {
        System.out.println("我是车类中无参的构造函数。");
    }

    private String name;
    private Float price;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}
